/**
    @project {
        "templateId": "org.helgoboss.custom",
        "version": "0.1-SNAPSHOT",
        "dependencies": [
            "org.scala-lang:scala-library:2.9.0-1"
        ]
    }
*/

package org.helgoboss.task

import java.io.PrintStream


trait ExecuteAsTask {
    def apply[R](name: String)(f: Task => R): R
}

trait Task {
    def progress_=(progress: Int)
    def logStream: PrintStream
}